-
Notifications
You must be signed in to change notification settings - Fork 229
refactor(block): reduce max size in da submitter #2720
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest Buf updates on your PR. Results from workflow CI and Release / buf-check (pull_request).
|
Pull Request Review: Reduce Max Blob Size from 2MB to 1.5MBSummaryThis PR reduces the ✅ Code Quality & Best PracticesPositive:
Concerns:
🐛 Potential Issues
⚡ Performance ConsiderationsPositive:
Concerns:
🔒 Security ConsiderationsLow Risk Change: This is primarily a resource limit adjustment with minimal security implications. Considerations:
🧪 Test CoverageCurrent State:
Recommendations:
📋 RecommendationsBefore Merging:
Long-term Considerations:
VerdictStatus: This change is too simplistic for a complex issue. The DNM flag suggests uncertainty, and the lack of context makes it difficult to assess correctness. Before merging:
Code Quality: 6/10 - Clean change but lacks context and testing Review conducted following project conventions from CLAUDE.md. Generated with Claude Code |
Code Review: Reduce Max Blob SizeOverviewThis PR reduces the Findings✅ Positive Aspects
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2720 +/- ##
=======================================
Coverage 66.14% 66.14%
=======================================
Files 77 77
Lines 7871 7871
=======================================
Hits 5206 5206
Misses 2179 2179
Partials 486 486
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
defaultGasPrice = 0.0 | ||
defaultGasMultiplier = 1.0 | ||
defaultMaxBlobSize = 2 * 1024 * 1024 // 2MB fallback blob size limit | ||
defaultMaxBlobSize = 1.5 * 1024 * 1024 // 1.5MB fallback blob size limit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we merge this, we need to decrease it here too: https://github.com/evstack/ev-node/blob/main/da/jsonrpc/internal/consts.go#L20
Pull Request ReviewI've reviewed PR #2720 which reduces the maximum blob size from 2MB to 1.5MB. Here's my detailed feedback: OverviewThis PR addresses a critical production issue where DA submissions were consistently failing because the code was incorrectly using the max transaction size (2MB) as the max blob size limit. The fix appropriately reduces the limit to 1.5MB as a short-term solution to restore DA functionality. ✅ Positive Aspects
|
Code Review: Reduce Max Blob Size from 2MB to 1.5MBThank you for this important fix! I've reviewed the PR and have the following feedback: ✅ Positive Aspects
|
Overview
short term fix to clear cache
it turns out that 2MB is the max tx size and not the max blob size. This means DA is down and pending headers/data increases, when it was reaching 2MB it would constantly fail